package com.shop.cloud.model.response;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.response.RestfulResponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetSysPositionListResponse {
	
    @JsonProperty("id")
    @ApiModelProperty(value = "id", example = "", required = true)
    private Long id;
    
    @JsonProperty("role_id")
    @ApiModelProperty(value = "角色类型id", example = "", required = true)
    private Long roleId;
    
    @JsonProperty("role_name")
    @ApiModelProperty(value = "角色类型名称", example = "", required = true)
    private String roleName;

    @JsonProperty("name")
    @ApiModelProperty(value = "名称", example = "", required = true)
    private String name;
    
    @JsonProperty("create_date")
    @ApiModelProperty(value = "创建时间", example = "", required = true)
    private Timestamp create_time;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

}
